package com.parking.certified.exception;

public enum CertifiedExceptionCode {

    CERTIFIED_IDS_IS_NULL(1103,"物业信息ids不存在"),
    CERTIFIED_ACCOUNT_IS_NULL(1102,"物业账号不存在"),
    CERTIFIED_INFO_ID_IS_NULL(1101,"物业信息id不存在"),
    CERTIFIED_IS_NOT_NULL(1001,"这个账号已存在"),
    CERTIFIED_IS_NULL(1002,"账号不存在"),
    CERTIFIED_IS_STATE_NOT_ENABLE(1003,"账户状态异常"),
    CERTIFIED_ROLE_IS_NOT(1102,"该账号不是物业,请重新输入"),
    CERTIFIED_IS_LOGGED_IN(1004,"你的账号已经登录，请先退出登录"),
    CERTIFIED_IS_NOT_CERTIFIED(1005,"该物业不存在"),
    CERTIFIED_IS_DELETE(1006,"已经是删除状态"),
    CERTIFIED_IS_DISABLE(1007,"已经是禁用状态"),
    CERTIFIED_IS_ENABLE(1008,"已经是启用状态"),
    CERTIFIED_IS_NOT_ID(1009,"这个id不存在"),
    CERTIFIED_IS_NOT_ENABLE(1010,"账号已被禁用或删除"),
    CERTIFIED_IS_NOT_DISTANCE(1011,"距离范围过大,请重新输入"),
    CERTIFIED_IS_ERROR(1100,"系统错误"),
    CERTIFIED_DILE_NO(1103,"文件格式错误"),
    CERTIFIED_ACCOUNT_NOT_NULL(1103,"该物业名称已经存在"),
    CERTIFIED_ADDRESS_NOT_NULL(1103,"物业地址重复")
    ;

    Integer code;

    String message;

    public Integer getCode() {
        return code;
    }


    public String getMessage() {
        return message;
    }

    CertifiedExceptionCode(Integer code,String message){
        this.code=code;
        this.message=message;

    }


}
